home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1548 < prev    next >
Encoding:
Text File  |  1996-08-05  |  929 b   |  29 lines

  1. Newsgroups: comp.lang.c
  2. Path: lugb.latrobe.edu.au!latcs1!charan
  3. From: charan@latcs1.lat.oz.au (Software Access)
  4. Subject: Keyboard Routines
  5. X-Nntp-Posting-Host: latcs2.cs.latrobe.edu.au
  6. Message-ID: <DL74zx.94n@latcs1.lat.oz.au>
  7. Sender: news@latcs1.lat.oz.au (news)
  8. Organization: Comp.Sci & Comp.Eng, La Trobe Uni, Australia
  9. X-Newsreader: TIN [version 1.2 PL2]
  10. Date: Mon, 15 Jan 1996 00:21:33 GMT
  11.  
  12.     Hi C Programmers.
  13.         I'm using BIOS rouines to read extended keys. But 
  14.     somehow i cannot read keys F11 and F12.
  15.  
  16.     My program sonehow goes like this.
  17.  
  18.         key = bioskey(0);
  19.         modifiers = bioskey(2); // Cannot remember the numbers offhand!.
  20.         then do a key &= 0xff for alphanumeric keys,
  21.     else key = 0x100+(key >> 8);
  22.         Works fine with every key on keyboard except F11 and F12.
  23.     Has anyone got a solution to this problem ?. Any help would be
  24.     appreciated.
  25.             Thank in Advance.
  26.         reply to : charan@latcs2.cs.latrobe.edu.au
  27.                                 Rik.
  28.  
  29.